﻿namespace Basic.FormRemoteModel.Table.Model
{
    public class FormQueryColumn
    {
        public long Id { get; set; }

        public string Title { get; set; }

        public bool IsGroup { get; set; }

        /// <summary>
        /// 是否隐藏标题
        /// </summary>
        public bool IsHidden { get; set; }

        /// <summary>
        /// 排序位
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 列名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 说明
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 是否不能为空
        /// </summary>
        public bool IsNotNull { get; set; }

        /// <summary>
        /// 默认值
        /// </summary>
        public string DefaultVal { get; set; }

        /// <summary>
        /// 列表列宽
        /// </summary>
        public int? Width { get; set; }

        public FormQueryColumn[] Children { get; set; }

        public string ControlName { get; set; }
    }
}
